﻿@model IEnumerable<sBlog.Net.Domain.Entities.PostEntity>
<script language="javascript" type="text/javascript">
    function clickImg(lUrl) {

    }
</script>
<div id="sliderFrame" style="background-color: #ffffff !important;">
    <div id="slider">
        @foreach (var post in Model)
        {
            var url = Url.RouteUrl("IndividualPost", new { year = post.PostYear, month = post.PostMonth, url = post.PostUrl, status = string.Empty });
            <a href="@url">
                <img src="@Url.Content("http://s1.img.yan.vn/Mlog/UploadThumbs/630x303_" + post.PostAvatarFeature)" alt="@post.PostTitle" />
            </a>
        }
    </div>
    <!--thumbnails-->
    <div id="thumbs">
        @foreach (var post in Model)
        {
            var url = Url.RouteUrl("IndividualPost", new { year = post.PostYear, month = post.PostMonth, url = post.PostUrl, status = string.Empty });
            <div class="thumb">
                <div class="frame">
                    <a href="@url" rel="">
                        <img src="@Url.Content("http://s1.img.yan.vn/Mlog/UploadThumbs/70x44_" + post.PostAvatarFeature)" alt="@post.PostTitle"/>
                    </a>
                </div>
                <div class="thumb-content">
                    <p>
                        <a href="@url" rel="">
                            @post.PostTitle </a>
                    </p>
                </div>
                <div style="clear: both;">
                </div>
            </div>
        }
    </div>
    <div style="clear: both; height: 0;">
    </div>
</div>
